package com.yuandian.management.vo;

/**
 * 返回类
 *
 * @author lijunhang
 * @date   2020/08/28
 */

public class ResultAction {

	private String id;

	private String state = ActionState.SUCEESS.toString();

	private String message;
    
	private String sucid;//保存成功的id
	
	private String runid;//保存正在运行的id
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ResultAction() {
	}

	public ResultAction(ActionState stateEnum, String message) {
		this.state = stateEnum.toString();
		this.message = message;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getSucid() {
		return sucid;
	}

	public void setSucid(String sucid) {
		this.sucid = sucid;
	}

	public String getRunid() {
		return runid;
	}

	public void setRunid(String runid) {
		this.runid = runid;
	}

}
